/*
 * @FilePath: report.ts
 * @@author: wjj
 * @Date: 2025-09-26 17:32:45
 * @@Description: new js file
 */
import request from '@/utils/request'
enum API {
  APIREPORT = '/apiReport/apiReportInfo',
  ONEAPIREPORT = '/apiReport/oneApiReportInfo',
}
export const reqGetApiReportInfo = (
  page: number,
  limit: number,
  keyword: string,
  asc: string,
) =>
  request.get<any, any>(
    API.APIREPORT +
      `?page=${page}&page_size=${limit}&keyword=${keyword}&asc=${asc}`,
  )

export const reqGetOneApiReportInfo = (id: any) =>
  request.get<any, any>(API.ONEAPIREPORT + `?id=${id}`)
